

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>添加</title>
  {include file="include/top"}

</head>
<body>

  <div class="layui-form" lay-filter="layuiadmin-form-tags" id="layuiadmin-app-form-tags" style="padding-top: 30px; text-align: center;">
    <div class="layui-form-item">
      <label class="layui-form-label">分类名</label>
      <div class="layui-input-inline">
        <input type="text" value="{$re.title?$re.title:''}" name="title" lay-verify="required" placeholder="请输入..." autocomplete="off" class="layui-input">
        <input type="hidden" name="id" value="{$re.id?$re.id:''}">
      </div>
    </div>
  </div>

  {include file="include/js"}
  <script>
  layui.config({
    base: '../layuiadmin/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$ 
    ,form = layui.form ;
  })
  </script>
</body>
</html>